<%-- 
    Document   : menu_header
    Created on : 27 avr. 2011, 11:24:01
    Author     : Franck
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<div id="header">
      <!-- Logo -->
      <c:choose>
        <c:when test='${UserIsConnected}'>
            <div id="logo_connecte"></div>
        </c:when>
        <c:otherwise>
        <div id="logo"></div>
             </c:otherwise>
    </c:choose>
      <div id="top-menu">
        <dl>
            <c:forEach var="u" items="${nomsDesCategoriesDeProduit}">
            <dd><a href="Categorie?nom=${u}" title="${u}" id="on">${u}</a></dd>
            </c:forEach>
        </dl>
      </div>
            <div id="search_block">
                <form id="searchForm" method="post" action="Recherche">
                    <input id="action" type="hidden" name="action" value="rechercheParMotsCles" />
                    <input id="search_input" name="motsCles" type="text" value="Rechercher par mots clés" onFocus="if(this.value == 'Rechercher par mots clés'){this.value='';}" onBlur="if(this.value == ''){this.value='Rechercher par mots clés';}" />
                    <input id="" type="submit" class="submit" value="Ok"  />
                </form>
            </div>
</div>


